<nav class="nav nav-tabs nav-stacked">
    <a class="nav-link {{ active_class(if_route('admin.setting')) }}" href="{{ route('admin.setting') }}"><i
            class="fa fa-home " aria-hidden="true"></i></a>
    <a class="nav-link {{ active_class(if_route('admin.package.index')) }}"
        href="{{ route('admin.package.index') }}">套餐列表</a>
    <a class="nav-link {{ active_class(if_route('admin.package.create')) }}"
        href="{{ route('admin.package.create') }}">添加套餐</a>

    @if (if_route('admin.package.edit'))
    <a class="nav-link {{ active_class(if_route('admin.package.edit')) }}">编辑套餐</a>
    @endif

</nav>
